﻿@model UscSunShine.Mvc.Models.PermissionViewModel

    @{
        ViewBag.Title = "Details";
    }

    <h2>Details</h2>

    <div>
        <h4>ApplicationPermission</h4>
        <hr />
        <dl class="dl-horizontal">
            <dt>
                @Html.DisplayNameFor(model => model.RoleName)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.RoleName)
            </dd>
            <dt>
                @Html.DisplayNameFor(model => model.Controller)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Controller)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Action)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Action)
            </dd>
            <dt>
                @Html.DisplayNameFor(model => model.Description)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Description)
            </dd>

        </dl>
    </div>
    <p>
        @Html.ActionLink("返回角色权限列表", "Index", new { roleId = Model.RoleId })
    </p>
